| Conditions | 1 |
| Paths | 2 |
| Total Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | import process from 'child_process' |
||
| 39 | export function deleteAll() { |
||
| 40 | var files = fs.readdirSync(config.root) |
||
| 41 | Array.prototype.forEach.call(files, (file) => { |
||
| 42 | if (file.indexOf('abe-process') > -1 && file.indexOf('.lock') > -1) { |
||
| 43 | fs.unlinkSync(path.join(config.root, file)) |
||
| 44 | } |
||
| 45 | }) |
||
| 46 | } |